<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
	"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
	<head>
		<link rel="stylesheet" type="text/css" href="css/ClassEnrollment.css">
		<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
		<script type="text/javascript" src="JQuery/jquery-1.9.0.min.js"></script>  
		<script type="text/javascript" src="JQuery/jquery-ui-1.10.0.custom.js"></script> 
		<link rel="stylesheet" type="text/css" href="css/smoothness/jquery-ui-1.10.0.custom.css" />
		<script type="text/javascript" src="JS/ClassEnrollment.js"></script>
		<title>Page Title</title>
	</head>
	<body>
	<?php
		require('webservices.php');
		require("functions.php");
		
		echo '<div id="LeftTopPane" class="pane">';
		
		echo '<span class="BoxLabel">User Type</span>';
		echo '<br/>';
		
		echo '<select name="UserType" id="UserTypeBox">';
		echo '<option value="2">Student</option>';
		echo '<option value="1">Teacher</option>';	
		echo '</select>';
		
		echo '<br/><br/>';
		
		echo '<span class="BoxLabel">User List</span>';
		echo '<br/>';
		echo '<select name="UserBox" id="UserBox" size="20" multiple>';;
		echo '</select>';
		
		echo '</div>';
		
		// Button pane
		echo '<div id="ButtonPane" class="pane">';
		echo '<input type="button" id="AddUserButton" value="Enroll  >>" />';
		echo '<br/>';
		echo '<input type="button" id="RemoveUserButton" value="<< Remove" />';
		echo '</div>';
		
		// Right Top Pane
		echo '<div id="RightTopPane" class="pane">';
		
		echo '<span class="BoxLabel">Course</span>';
		echo '<br/>';
		echo '<select name="Course" id="CourseBox">';
		echo populate_dropdown_options(Get_all_active_courses());
		echo '</select>';
		
		echo '<br/><br/>';
		echo '<div id="ClassTeacher">';
		echo '<span class="BoxLabel">Teacher</span>';
		echo '<br/>';
		echo '<select name="Teacher" id="TeacherBox" size="1" multiple>';
		echo '</select>';
		echo '</div>';
		
		echo '<div id="ClassStudents">';
		echo '<span class="BoxLabel">Student(s)</span>';
		echo '<br/>';
		echo '<select name="Enrollment" id="EnrollmentBox" size="20" multiple>';
		echo '</select>';
		echo '</div>';
		
		echo '</div>';
	?>
	
	<br/>
	<br/>
	

	</body>
			
</html>
